/**
 * @author lk
 * @date 2022/6/1 16:20
 */
package com.mmall.spring5;

import org.springframework.stereotype.Controller;

@Controller
public class Order {
    private String address;
    private String name;

    @Override
    public String toString() {
        return "Order{" +
                "address='" + address + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Order() {
    }

    public Order(String address, String name) {
        this.address = address;
        this.name = name;
    }
}
